home *** CD-ROM | disk | FTP | other *** search
- this.stop();
- gun_cnt = 70;
- count = 10;
- this.onEnterFrame = function()
- {
- if(count == 0)
- {
- tmp = Math.floor(Math.random() * 3) + 1;
- chara = {target:tmp};
- _global.depth = _global.depth + 1;
- newname1 = "dangan" + _global.depth;
- this.attachMovie("dangan",newname1,depth,chara);
- count = 23;
- _global.depth = _global.depth + 1;
- newname1 = "dan0" + _global.depth;
- props = {_x:15,_y:15};
- this.attachMovie("dangan_0",newname1,depth,props);
- _root.mySound.attachSound("s_dangan.wav");
- _root.mySound.start([0,1]);
- }
- count--;
- gun_cnt -= 1;
- if(gun_cnt < 0)
- {
- _root.enemy.robo.gotoAndPlay("wait");
- gotoAndStop(11);
- }
- };
-